package ooday05;

public class StaticMethod {
    int a ;
    static int b;

    void show(){
        System.out.println(a);
    }
    static void test(){
        //System.out.println(a);编译错误，static方法里面不认识this
        System.out.println(b);
    }
    void say(){
        System.out.println(a);
    }
    static int pluse(int num1,int num2){
        int sum= num1+num2;
        return sum;
    }
}
